package com.jic.market.request;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author xuyongliang
 * @version V1.0
 * @className UpdateStockLimitRequest
 * @description TODO
 * @date 2020/3/25
 */


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PatchGrouponUpdateStockLimitRequest implements Serializable {

    private static final long serialVersionUID = 7448335007327817786L;

    private Long promotionId;

    private Long mpId;

    private BigDecimal grouponPrice;

    private Long individualLimit;

    private Long channelMerchantLimit;

    private Long channelStoreLimit;

    private Long limitRuleId;

    @ApiModelProperty(notes = "母平台分摊比例")
    private Integer parentAllocationScale;

    @ApiModelProperty(notes = "商家平台分摊比例")
    private Integer merchantAllocationScale;

    @ApiModelProperty(notes = "活动库存")
    private Integer stockLimit;

    @ApiModelProperty(notes = "订单限购")
    private Integer orderLimit;

}


